<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
        xmlns:c="http://java.sun.com/jstl/core" 
        xmlns:p="http://primefaces.org/ui"
        xmlns:ui="http://java.sun.com/jsf/facelets">
    
    

<f:subview id="sidebar">

    
    <h:form>
        <p:panelGrid style="margin-left:-7px" columns="1">
            <f:facet name="header">
                <h:outputText value="Pets" styleClass="sectionTitle"/>
            </f:facet>

            <p:commandLink action="#{catalog.doFindProducts}">
                <h:outputText value="Birds"/>
                <f:param name="categoryId" value="5"/>
            </p:commandLink>

            <p:commandLink action="#{catalog.doFindProducts}">
                <h:outputText value="Cats"/>
                <f:param name="categoryId" value="4"/>
            </p:commandLink>

            <p:commandLink action="#{catalog.doFindProducts}">
                <h:outputText value="Dogs"/>
                <f:param name="categoryId" value="2"/>
            </p:commandLink>

            <p:commandLink action="#{catalog.doFindProducts}">
                <h:outputText value="Fish"/>
                <f:param name="categoryId" value="1"/>
            </p:commandLink>

            <p:commandLink action="#{catalog.doFindProducts}">
                <h:outputText value="Reptiles"/>
                <f:param name="categoryId" value="3"/>
            </p:commandLink>
        </p:panelGrid>
    </h:form>

</f:subview>
  
</html>

